[PATCH v3 4/4] Staging: gdm72xx: Remove BUG_ON
Shraddha Barke
shraddha.6596 at gmail.com
Tue Feb 16 20:30:58 UTC 2016
Delete the BUG_ON check.
Signed-off-by: Shraddha Barke <shraddha.6596 at gmail.com>
---
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
More information about the devel
mailing list