diff options
| author | Iyappan Subramanian <isubramanian@apm.com> | 2016-08-12 22:05:37 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-13 11:48:51 -0700 |
| commit | ee0f95440dc16dd0db9c2856bed1e7806d1839de (patch) | |
| tree | e49c2dc603387a2436ee8427e36cb1cc5850676b /tools/perf/scripts/python | |
| parent | Merge branch 'bpf-improvements' (diff) | |
| download | linux-ee0f95440dc16dd0db9c2856bed1e7806d1839de.tar.gz linux-ee0f95440dc16dd0db9c2856bed1e7806d1839de.zip | |
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 <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
