Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36e712a8 authored by Parshuram Thombare's avatar Parshuram Thombare Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: simplify a trivial if-return sequence

parent 35e942f3
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1336,10 +1336,7 @@ static int dgnc_block_til_ready(struct tty_struct *tty,

	spin_unlock_irqrestore(&ch->ch_lock, flags);

	if (retval)
	return retval;

	return 0;
}

/*