c47cdc3b8d1d60ef18b0466374608c518e07 parent 92e6765f4080520759acfb0bc41402485271365a author Julia Lawall 1247301143 +0200 committer Greg Kroah-Hartman 1253041293 -0700 Staging: otus: Drop an unnecessary NULL test Apparently, the NULL test is not necessary at this point. The semantic patch that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fld; + T i; ... when != E when != i if (E == NULL) S + i = E->fld; // Signed-off-by: Julia Lawall Acked-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman ¥ràñ债Pxœ Ä1Â0