From: Geert Uytterhoeven Date: Wed, 24 Apr 2013 12:02:34 +0000 (+0200) Subject: ath6kl: Unify sg_sz and buf_sz in ath6kl_sdio_alloc_prep_scat_req() X-Git-Tag: v3.11-rc1~64^2~166^2^2~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37291fc61253cd34db40b7a60be4497db776db41;p=pandora-kernel.git ath6kl: Unify sg_sz and buf_sz in ath6kl_sdio_alloc_prep_scat_req() sg_sz and buf_sz are initialized and used in a mutual exclusive way. However, some versions of gcc are not smart enough to see this: drivers/net/wireless/ath/ath6kl/sdio.c: In function ‘ath6kl_sdio_alloc_prep_scat_req’: drivers/net/wireless/ath/ath6kl/sdio.c:338: warning: ‘sg_sz’ may be used uninitialized in this function Unify the sg_sz and buf_sz variables into a single size variable to kill the compiler warning. Signed-off-by: Geert Uytterhoeven Signed-off-by: Kalle Valo --- Reading git-diff-tree failed