Dan Carpenter
b06cd21e2f
mtd/m25p80: retlen is never NULL
...
This is just a cleanup, it doesn't fix any bugs.
These functions all check retlen inconsistently and it generates a
warning in Smatch (http://smatch.sf.net ). If retlen were ever NULL it
would cause an oops and the code has been this way since 2006 so someone
would have complained. Also I looked at other places that implemented
the mtd read and write functions and they dereference retlen without
checking.
I removed the checks.
Signed-off-by: Dan Carpenter <error27@gmail.com >
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com >
2010-08-12 12:26:22 +01:00
..
2010-08-07 17:08:30 -07:00
2010-07-31 13:07:27 +01:00
2010-08-07 12:42:58 -07:00
2010-08-09 21:05:52 -07:00
2010-08-09 20:45:02 -07:00
2010-08-05 13:49:37 -07:00
2010-08-06 12:25:06 -07:00
2010-08-09 21:05:52 -07:00
2010-08-03 13:47:05 -04:00
2010-08-09 20:45:04 -07:00
2010-08-05 15:57:35 -07:00
2010-08-09 21:00:07 -07:00
2010-08-04 11:16:01 +02:00
2010-08-02 10:09:04 +02:00
2010-08-09 20:45:09 -07:00
2010-08-05 15:57:35 -07:00
2010-08-09 12:18:44 +02:00
2010-08-04 15:23:49 -07:00
2010-08-09 20:45:10 -07:00
2010-08-05 15:57:35 -07:00
2010-08-09 03:17:55 -07:00
2010-08-04 11:13:36 -07:00
2010-08-02 10:09:04 +02:00
2010-08-07 17:08:02 -07:00
2010-08-09 13:48:08 +10:00
2010-08-09 21:05:52 -07:00
2010-08-05 13:53:35 -07:00
2010-08-06 13:25:43 -07:00
2010-08-07 17:09:24 -07:00
2010-08-04 15:31:02 -07:00
2010-08-09 20:45:10 -07:00
2010-08-06 12:25:06 -07:00
2010-08-12 12:26:22 +01:00
2010-08-09 21:05:52 -07:00
2010-08-01 01:44:18 -06:00
2010-08-04 15:31:02 -07:00
2010-08-06 12:25:06 -07:00
2010-08-09 21:00:07 -07:00
2010-08-06 12:25:06 -07:00
2010-08-03 11:55:15 -04:00
2010-08-05 13:26:20 +01:00
2010-08-05 13:53:35 -07:00
2010-08-05 08:53:20 -07:00
2010-08-09 20:45:06 -07:00
2010-08-05 15:57:35 -07:00
2010-08-06 12:25:06 -07:00
2010-08-09 21:04:23 -07:00
2010-08-01 01:42:42 -06:00
2010-08-06 12:25:06 -07:00
2010-08-10 11:26:52 -07:00
2010-08-03 09:04:11 +02:00
2010-08-05 13:53:33 -07:00
2010-08-07 17:07:31 -07:00
2010-08-04 11:47:58 -07:00
2010-08-09 20:44:53 -07:00
2010-08-05 15:57:35 -07:00
2010-08-06 13:25:43 -07:00