RDMA/ocrdma: remove a unused-label warning
Subsystems (2)
PATCH 1/1 RDMA/ocrdma: remove a unused-label warning
From: Li RongQing <[email protected]>
If disable IPV6, and the warning will happen:
drivers/infiniband/hw/ocrdma/ocrdma_main.c:650:1: warning: label ‘err_notifier6’ defined but not used [-Wunused-label]
Signed-off-by Li RongQing <[email protected]>
--- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/infiniband/hw/ocrdma/ocrdma_main.c +2 -0
@@ -646,8 +646,10 @@ static int __init ocrdma_init_module(void)return 0 ; err_be_reg: +#if IS_ENABLED(CONFIG_IPV6)ocrdma_unregister_inet6addr_notifier (); err_notifier6: +#endifocrdma_unregister_inetaddr_notifier ();return status; }
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html