fix keucr init.c other coding style but not from checkpatch.pl.
replace ternary conditional "?:" with if/else.
Signed-off-by: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
}
if (buf) {
- unsigned int pipe = fDir ==
- FDIR_READ ? us->recv_bulk_pipe : us->send_bulk_pipe;
+ unsigned int pipe = fDir;
+
+ if (fDir == FDIR_READ)
+ pipe = us->recv_bulk_pipe;
+ else
+ pipe = us->send_bulk_pipe;
+
/* Bulk */
if (use_sg)
result = usb_stor_bulk_srb(us, pipe, us->srb);