mirror of https://gitee.com/openkylin/linux.git
staging: fbtft: Merged two identical conditionals into one.
Merged two if conditionals into a single one, since they had exactly the same condition. Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5963db92cf
commit
2fad31423d
|
@ -1448,11 +1448,10 @@ static int __init fbtft_device_init(void)
|
|||
if (fbtft_device_param_gpios[0].name[0])
|
||||
gpio = fbtft_device_param_gpios;
|
||||
|
||||
if (verbose > 2)
|
||||
if (verbose > 2) {
|
||||
pr_spi_devices(); /* print list of registered SPI devices */
|
||||
|
||||
if (verbose > 2)
|
||||
pr_p_devices(); /* print list of 'fb' platform devices */
|
||||
}
|
||||
|
||||
pr_debug("name='%s', busnum=%d, cs=%d\n", name, busnum, cs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue