Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: ft1000: Remove empty branch from conditional

This fixes a checkpatch style warning in ft1000_ioctl.

Signed-off-by: Alex Dowad <alexinbeijing@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alex Dowad and committed by
Greg Kroah-Hartman
e97bc8b2 469caabe

+1 -2
+1 -2
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
··· 588 588 /* Check message qtype type which is the lower byte within qos_class */ 589 589 qtype = ntohs(dpram_data->pseudohdr.qos_class) & 0xff; 590 590 /* pr_debug("qtype = %d\n", qtype); */ 591 - if (qtype) { 592 - } else { 591 + if (!qtype) { 593 592 /* Put message into Slow Queue */ 594 593 /* Only put a message into the DPRAM if msg doorbell is available */ 595 594 status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL);