* [PATCH] Remove empty branch from conditional
@ 2015-05-17 17:19 Alex Dowad
0 siblings, 0 replies; only message in thread
From: Alex Dowad @ 2015-05-17 17:19 UTC (permalink / raw)
To: Marek Belisko, Greg Kroah-Hartman, Julia Lawall, Joe Perches,
Haneen Mohammed, Greg Donald, Chen Weixiang, Somya Anand,
Yeliz Taneroglu, Aya Mahfouz, open list:STAGING SUBSYSTEM,
open list
This fixes a checkpatch style warning in ft1000_ioctl.
Signed-off-by: Alex Dowad <alexinbeijing@gmail.com>
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
index 2d758fb..2593413 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
@@ -588,8 +588,7 @@ static long ft1000_ioctl(struct file *file, unsigned int command,
/* Check message qtype type which is the lower byte within qos_class */
qtype = ntohs(dpram_data->pseudohdr.qos_class) & 0xff;
/* pr_debug("qtype = %d\n", qtype); */
- if (qtype) {
- } else {
+ if (!qtype) {
/* Put message into Slow Queue */
/* Only put a message into the DPRAM if msg doorbell is available */
status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL);
--
2.0.0.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-17 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-17 17:19 [PATCH] Remove empty branch from conditional Alex Dowad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®