forked from Xilinx-CNS/onload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue Xilinx-CNS#180: fix objtool warning by removing useless function
__oo_shmbuf_ptr2off() triggers objtool warning: "__oo_shmbuf_ptr2off() is missing a __noreturn annotation". The function's only purpose now is to crash with ci_assert(0). There's no reason to keep it. The patch moves the assertion to the caller (oo_shmbuf_ptr2off) and removes __oo_shmbuf_ptr2off(). Signed-off-by: Sergey Nikitin <[email protected]>
- Loading branch information
1 parent
9f936e4
commit e4ad626
Showing
2 changed files
with
3 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters