]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdde524cc1c26fb3d4223c6ddb21d2847f0a1290e
tree34bfe3c57467aee171ad938a9195ba1e227fd457
parent672e651c3ab5e1135f272914f316c084c50886e7
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