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

From: Wolfram Sang
Date: Thu Jun 01 2017 - 04:35:28 EST



> + 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: signature.asc
Description: PGP signature