From: Claudiu Manoil Date: Thu, 21 Mar 2013 03:12:13 +0000 (+0000) Subject: gianfar: Remove 'maybe-uninitialized' compile warning X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~383 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c0a0d5be287415ef0dc0dc15813e6fc86487e9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed