Commit 2c0e81ec authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: cleanup comparsion to NULL in usb_halinit.c

parent 1f5bfba5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1889,7 +1889,7 @@ void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_level)
	if (mac_id >= NUM_STA) /* CAM_SIZE */
		return;
	psta = pmlmeinfo->FW_sta_info[mac_id].psta;
	if (psta == NULL)
	if (!psta)
		return;
	switch (mac_id) {
	case 0:/*  for infra mode */