When the symbol version function __ibv_register_driver was deleted the pragma was accidently left behind. Fixes: 6843def955d0 ("verbs: Remove ibv_register_driver") Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> --- libibverbs/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libibverbs/init.c b/libibverbs/init.c index 4d064bc6cdf213..e0fa4caae6f125 100644 --- a/libibverbs/init.c +++ b/libibverbs/init.c @@ -50,8 +50,6 @@ #include <util/util.h> #include "ibverbs.h" -#pragma GCC diagnostic ignored "-Wmissing-prototypes" - int abi_ver; struct ibv_sysfs_dev { -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html