|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -43,7 +43,7 @@ static struct wlan_objmgr_pdev *wlan_serialization_get_first_pdev(
|
|
|
for (i = 0; i < WLAN_UMAC_MAX_PDEVS; i++) {
|
|
|
pdev = wlan_objmgr_get_pdev_by_id(psoc, i,
|
|
|
WLAN_SERIALIZATION_ID);
|
|
|
- if (pdev != NULL)
|
|
|
+ if (pdev)
|
|
|
break;
|
|
|
}
|
|
|
|