mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 23:20:32 -04:00
staging: wlan-ng: prism2mib: Remove unnecessary variable
Drop unnecessary variable that can be replaced by a single line of code. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6ba714bb5f
commit
d4f8455b12
@@ -660,7 +660,6 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
|
||||
struct p80211msg_dot11req_mibset *msg,
|
||||
void *data)
|
||||
{
|
||||
int result;
|
||||
u32 *uint32 = (u32 *) data;
|
||||
|
||||
if (!isget)
|
||||
@@ -672,9 +671,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
|
||||
return 0;
|
||||
}
|
||||
|
||||
result = prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
|
||||
|
||||
return result;
|
||||
return prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user