Arnd Bergmann
0a327889f6
cxgb4: hide unused warnings
...
The two new variables are only used inside of an #ifdef and cause
harmless warnings when that is disabled:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function 'init_one':
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4646:9: error: unused variable 'port_vec' [-Werror=unused-variable]
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4646:6: error: unused variable 'v' [-Werror=unused-variable]
This adds another #ifdef around the declarations.
Fixes: 96fe11f27b ("cxgb4: Implement ndo_get_phys_port_id for mgmt dev")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-01-20 11:16:57 -05:00
..
2016-12-30 15:26:22 -05:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-12 19:56:15 -08:00
2017-01-08 17:51:44 -05:00
2016-11-15 22:05:54 -05:00
2016-12-24 11:46:01 -08:00
2016-12-16 00:13:43 +02:00
2017-01-08 17:51:44 -05:00
2017-01-09 15:39:11 -05:00
2017-01-08 17:51:44 -05:00
2016-11-29 18:57:36 -05:00
2017-01-09 14:52:54 -05:00
2016-12-03 12:29:53 -05:00
2017-01-17 15:19:37 -05:00
2017-01-08 17:51:44 -05:00
2017-01-19 11:45:54 -05:00
2017-01-08 17:51:44 -05:00
2017-01-18 17:22:49 -05:00
2017-01-20 11:16:57 -05:00
2016-12-17 21:31:41 -05:00
2017-01-08 17:51:44 -05:00
2016-12-17 21:31:41 -05:00
2017-01-02 16:59:10 -05:00
2017-01-02 16:59:10 -05:00
2017-01-17 15:19:37 -05:00
2017-01-02 16:59:10 -05:00
2017-01-08 17:51:44 -05:00
2016-12-24 11:46:01 -08:00
2017-01-18 17:22:49 -05:00
2017-01-09 12:09:10 -05:00
2017-01-18 17:22:49 -05:00
2017-01-18 17:22:49 -05:00
2017-01-08 17:51:44 -05:00
2017-01-19 23:35:12 -05:00
2016-12-16 13:31:47 -05:00
2017-01-08 17:51:44 -05:00
2016-12-24 11:46:01 -08:00
2017-01-08 17:51:44 -05:00
2017-01-08 17:51:44 -05:00
2017-01-08 17:51:44 -05:00
2016-12-24 11:46:01 -08:00
2017-01-17 15:24:47 -05:00
2017-01-19 23:14:52 -05:00
2016-12-17 21:35:12 -05:00
2017-01-18 17:22:49 -05:00
2017-01-17 15:19:37 -05:00
2016-12-03 19:29:35 -05:00
2017-01-08 17:51:44 -05:00
2017-01-17 15:49:52 -05:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-18 17:22:49 -05:00
2017-01-18 12:12:04 -05:00
2017-01-08 17:51:44 -05:00
2017-01-18 16:46:01 -05:00
2017-01-12 15:14:09 -05:00
2017-01-08 17:51:44 -05:00
2017-01-05 11:29:22 -05:00
2016-12-24 11:46:01 -08:00
2017-01-08 17:51:44 -05:00
2017-01-17 15:50:56 -05:00
2017-01-02 16:59:10 -05:00
2017-01-17 11:44:27 -05:00
2017-01-17 11:44:27 -05:00
2017-01-15 22:00:59 -05:00
2017-01-17 11:44:27 -05:00
2016-12-10 16:21:55 -05:00
2017-01-15 22:00:59 -05:00