diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-04-24 14:02:34 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-06-01 15:16:33 +0300 |
commit | 37291fc61253cd34db40b7a60be4497db776db41 (patch) | |
tree | ebde9b83d383d21ffe6fc6d7fb50f26cd507a16f /fs/nfs | |
parent | 8c40e4e0e158aca76c657533ae57fa3e33655778 (diff) | |
download | kernel_goldelico_gta04-37291fc61253cd34db40b7a60be4497db776db41.zip kernel_goldelico_gta04-37291fc61253cd34db40b7a60be4497db776db41.tar.gz kernel_goldelico_gta04-37291fc61253cd34db40b7a60be4497db776db41.tar.bz2 |
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 <geert@linux-m68k.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions