summaryrefslogtreecommitdiffstats
path: root/fs/utimes.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-18 15:52:51 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-20 11:16:57 -0500
commit0a327889f64619ac3ec886208644191cd87de525 (patch)
treec4606ac49e8cc8c08f54ac033ba92ab746a99443 /fs/utimes.c
parenta1a22c12060e4b9c52f45d4b3460f614e00162a2 (diff)
downloadlinux-0a327889f64619ac3ec886208644191cd87de525.tar.gz
linux-0a327889f64619ac3ec886208644191cd87de525.tar.bz2
linux-0a327889f64619ac3ec886208644191cd87de525.zip
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: 96fe11f27b70 ("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>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions