]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8712: Removed redundant code from function oid_rt_pro_write_register_hdl
authorDeepak Mishra <linux.dkm@gmail.com>
Sun, 9 Jun 2019 12:31:41 +0000 (18:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:57:21 +0000 (17:57 +0200)
commit43dfe7df06a9175a704af11bd848769432824665
tree0e1d148838b1d2254a3d4d46e56d1fae5a9dc63e
parent906ad742fdbfc451520af37ff3b1e6fc85c3f898
staging: rtl8712: Removed redundant code from function oid_rt_pro_write_register_hdl

In function oid_rt_pro_write_register_hdl, Adapter->ImrContent is
assigned with RegRWStruct->value but Adapter->ImrContent is never used
anywhere else. So those lines has no impact and are removed removed.

As that was the only place where ImrContent was used, so the member
variable is removed from the structure _adapter

Signed-off-by: Deepak Mishra <linux.dkm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/drv_types.h
drivers/staging/rtl8712/rtl871x_mp_ioctl.c