Commit d4f8455b authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman

staging: wlan-ng: prism2mib: Remove unnecessary variable

Drop unnecessary variable that can be replaced by a single line of
code.
Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ba714bb
...@@ -660,7 +660,6 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, ...@@ -660,7 +660,6 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
struct p80211msg_dot11req_mibset *msg, struct p80211msg_dot11req_mibset *msg,
void *data) void *data)
{ {
int result;
u32 *uint32 = (u32 *) data; u32 *uint32 = (u32 *) data;
if (!isget) if (!isget)
...@@ -672,9 +671,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, ...@@ -672,9 +671,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
return 0; return 0;
} }
result = prism2mib_uint32(mib, isget, wlandev, hw, msg, data); return prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
return result;
} }
/*---------------------------------------------------------------- /*----------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment