kfree.cocci: We neither have BUG() nor BUG_ON().
authorSascha Wildner <saw@online.de>
Tue, 6 Dec 2011 13:41:12 +0000 (14:41 +0100)
committerSascha Wildner <saw@online.de>
Tue, 6 Dec 2011 13:41:12 +0000 (14:41 +0100)
test/cocci/kfree.cocci

index cf3a79c..65eebe2 100644 (file)
@@ -88,10 +88,6 @@ kfree@p1(E,...)
  subE--
 |
  &subE
  subE--
 |
  &subE
-|
- BUG(...)
-|
- BUG_ON(...)
 |
  return_VALUE(...)
 |
 |
  return_VALUE(...)
 |