diff options
| -rw-r--r-- | drivers/mtd/ubi/cdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index fb238d7ade35..fe4da1e96c52 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c | |||
| @@ -64,6 +64,7 @@ static struct ubi_device *major_to_device(int major) | |||
| 64 | if (ubi_devices[i] && ubi_devices[i]->major == major) | 64 | if (ubi_devices[i] && ubi_devices[i]->major == major) |
| 65 | return ubi_devices[i]; | 65 | return ubi_devices[i]; |
| 66 | BUG(); | 66 | BUG(); |
| 67 | return NULL; | ||
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | /** | 70 | /** |
