]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: remove set but not used variable 'data_len'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 21 Aug 2019 12:28:02 +0000 (20:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2019 16:15:43 +0000 (09:15 -0700)
commite218f42ccf7c4adfe22f6a49082cac22a68c0511
tree81ec3ac2ade4051e194aee6ca0c2ec6ec596a12c
parent05df86ab609f6295f5c370ca376b015a06ac0f35
staging: rtl8192e: remove set but not used variable 'data_len'

Fixes gcc '-Wunused-but-set-variable' warning:

 In function ieee80211_ccmp_encrypt:
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c:162:6:
 warning: variable data_len set but not used [-Wunused-but-set-variable]

It is not used since commit 4a33ca8cae42 ("staging:
rtl8192e: rtllib_crypt_ccmp.c: Use crypto API ccm(aes)")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190821122802.44028-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_crypt_ccmp.c