mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
staging: gdmwm: move variables to right side of comparison test
Move variables to right side of comparison test to improve readability. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4188e5862f
commit
0a589f4f1b
1 changed files with 2 additions and 2 deletions
|
|
@ -581,8 +581,8 @@ static int gdm_wimax_get_prepared_info(struct net_device *dev, char *buf,
|
|||
}
|
||||
|
||||
pos += gdm_wimax_hci_get_tlv(&buf[pos], &T, &L, &V);
|
||||
if (T == TLV_T(T_MAC_ADDRESS)) {
|
||||
if (L != dev->addr_len) {
|
||||
if (TLV_T(T_MAC_ADDRESS) == T) {
|
||||
if (dev->addr_len != L) {
|
||||
netdev_err(dev,
|
||||
"%s Invalid information result T/L [%x/%d]\n",
|
||||
__func__, T, L);
|
||||
|
|
|
|||
Loading…
Reference in a new issue