staging: rtl8723bs: core: Remove variable change_priority
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 10 Jun 2019 07:47:06 +0000 (13:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 09:47:01 +0000 (11:47 +0200)
commit581b4945bfccd8f52636d9fdf68cfdd56e17590b
tree34bfe3c57467aee171ad938a9195ba1e227fd457
parent535e5a9b630cc24a9ccd12c17af4769bcdc158fe
staging: rtl8723bs: core: Remove variable change_priority

Remove local variable change_priority, as it takes the value of the
argument priority; as both of these variables are of type u8, priority
can be modified without changing the value of its copy at the call site.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c