Repository navigation
Commit 5dcddeb
mtd: rawnand: Kill cafe_nand_bug()
Leaving a function pointer to NULL should be enough to trigger a NULL
pointer exception, and anyway, if we want to BUG() when some missing
hooks are called, this should be done in the core, so let's drop the
cafe_nand_bug() dummy function.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>1 parent a58d0b4 commit 5dcddeb
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | 348 | | |
354 | 349 | | |
355 | 350 | | |
| |||
760 | 755 | | |
761 | 756 | | |
762 | 757 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | 758 | | |
767 | 759 | | |
768 | 760 | | |
| |||
0 commit comments