aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/gianfar.h
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2013-03-21 03:12:13 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-21 12:01:34 -0400
commit39c0a0d5be287415ef0dc0dc15813e6fc86487e9 (patch)
treea4ad23dbdbcaa812482a402ff3f3f4c1716d6a51 /drivers/net/ethernet/freescale/gianfar.h
parentnet: sh-eth: Use pr_err instead of printk (diff)
downloadlinux-dev-39c0a0d5be287415ef0dc0dc15813e6fc86487e9.tar.xz
linux-dev-39c0a0d5be287415ef0dc0dc15813e6fc86487e9.zip
gianfar: Remove 'maybe-uninitialized' compile warning
Warning message: warning: 'budget_per_q' may be used uninitialized in this function budget_per_q won't be used uninitialized since the only time it doesn't get initialized is when entering gfar_poll with num_act_queues == 0, meaning rstat_rxf == 0, in which case budget_per_q is not utilized (as it has no meaning). Inititalize budget_per_q to 0 though to suppress this compile warning. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar.h')
0 files changed, 0 insertions, 0 deletions