[PATCH v3 4/9] mtd: nand: sharpsl.c: take in account partition parser types
From: Wolfram Sang <hidden>
Date: 2017-06-01 08:35:26
Also in:
linux-mmc, lkml
From: Wolfram Sang <hidden>
Date: 2017-06-01 08:35:26
Also in:
linux-mmc, lkml
+ data->types ? data->types : NULL,
This is equal to just 'data_types'.
+ NULL, + data->partitions ? + data->partitions : NULL, + data->nr_partitions ? + data->nr_partitions : 0);
All the ternary operators are superfluous. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170601/96867942/attachment.sig>