Re: [PATCH v3 4/9] mtd: nand: sharpsl.c: take in account partition parser types

Wolfram Sang
2017-06-01T08:35:50Z

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

> + 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]