[PATCH v3 4/4] Staging: gdm72xx: Remove BUG_ON

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Delete the BUG_ON check.

Signed-off-by: Shraddha Barke <shraddha.6596@xxxxxxxxx>
---
Changes in v3-
 Deleted BUG_ON
Changes in v2-
 Nothing

 drivers/staging/gdm72xx/gdm_wimax.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c
index 859880c..5db0b46 100644
--- a/drivers/staging/gdm72xx/gdm_wimax.c
+++ b/drivers/staging/gdm72xx/gdm_wimax.c
@@ -100,8 +100,6 @@ static struct evt_entry *get_event_entry(void)
 
 static void put_event_entry(struct evt_entry *e)
 {
-	BUG_ON(!e);
-
 	list_add_tail(&e->list, &wm_event.freeq);
 }
 
-- 
2.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux