mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00: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:
parent
6ba714bb5f
commit
d4f8455b12
1 changed files with 1 additions and 4 deletions
|
@ -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,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
|
return prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------
|
/*----------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue