Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/wpa/dist/src/drivers Remove pointless check
details: https://anonhg.NetBSD.org/src/rev/d2aeb35040d8
branches: trunk
changeset: 343022:d2aeb35040d8
user: roy <roy%NetBSD.org@localhost>
date: Tue Jan 19 15:27:57 2016 +0000
description:
Remove pointless check
diffstat:
external/bsd/wpa/dist/src/drivers/driver_bsd.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (18 lines):
diff -r dd0b4738b43c -r d2aeb35040d8 external/bsd/wpa/dist/src/drivers/driver_bsd.c
--- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 15:18:20 2016 +0000
+++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 15:27:57 2016 +0000
@@ -870,11 +870,9 @@
return drv;
bad:
- if (drv != NULL) {
- if (drv->sock_xmit != NULL)
- l2_packet_deinit(drv->sock_xmit);
- os_free(drv);
- }
+ if (drv->sock_xmit != NULL)
+ l2_packet_deinit(drv->sock_xmit);
+ os_free(drv);
return NULL;
}
Home |
Main Index |
Thread Index |
Old Index