diff options
author | Iyappan Subramanian <[email protected]> | 2016-08-12 22:05:37 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-08-13 11:48:51 -0700 |
commit | ee0f95440dc16dd0db9c2856bed1e7806d1839de (patch) | |
tree | e49c2dc603387a2436ee8427e36cb1cc5850676b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1c238763aa29bc2345e29a3669983e1e28094397 (diff) |
drivers: net: xgene: Fix compiler warnings
Fixed compiler warnings reported with -Wmaybe-uninitialized W=1,
/drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_rx_frame’:
../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:455:27: warning: variable ‘pdata’ set but not used [-Wunused-but-set-variable]
struct xgene_enet_pdata *pdata;
^
../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_remove’:
../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:1691:30: warning: variable ‘mac_ops’ set but not used [-Wunused-but-set-variable]
const struct xgene_mac_ops *mac_ops;
^
Signed-off-by: Iyappan Subramanian <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions