[PATCH] staging/ks7070: Removed unused varibale
Dan Carpenter
dan.carpenter at oracle.com
Sat Feb 23 07:18:12 UTC 2019
On Sat, Feb 23, 2019 at 01:39:39AM -0500, Bo YU wrote:
> From: Bo Yu <tsu.yubo at gmail.com>
>
> Compiling the kernel with W=1 results in the following warning:
>
> drivers/staging/ks7010/ks_hostif.c:465:6: warning: variable ‘mib_val_type’
> set but not used [-Wunused-but-set-variable]
> u16 mib_val_type;
>
> drivers/staging/ks7010/ks_hostif.c:464:6: warning: variable ‘mib_val_size’
> set but not used [-Wunused-but-set-variable]
> u16 mib_val_size;
>
> drivers/staging/ks7010/ks_hostif.c:786:6: warning: variable ‘result_code’
> set but not used [-Wunused-but-set-variable]
> u16 result_code;
>
> Remove these variables.
>
> Rebase on next-20190222
^^^^^^^^^^^^^^^^^^^^^^^
Is this a v2 patch or something? Don't include this in the changelog.
Put it under the --- cut off line.
>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Sergio Paracuellos <sergio.paracuellos at gmail.com>
> Cc: Quytelda Kahja <quytelda at tamalin.org>
>
> Signed-off-by: Bo Yu <tsu.yubo at gmail.com>
> ---
^^^
> drivers/staging/ks7010/ks_hostif.c | 6 ------
> 1 file changed, 6 deletions(-)
>
regards,
dan carpenter
More information about the devel
mailing list