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

Commit aa299845 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: dt282x: checkpatch.pl cleanup (else after return)



Fix checkpatch.pl warning:

WARNING: else is not generally useful after a break or return

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 02efdb3b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1079,12 +1079,12 @@ static const struct comedi_lrange *opt_ai_range_lkup(int ispgl, int x)
		if (x < 0 || x >= 2)
			x = 0;
		return ai_range_pgl_table[x];
	} else {
	}

	if (x < 0 || x >= 4)
		x = 0;
	return ai_range_table[x];
}
}

static int dt282x_grab_dma(struct comedi_device *dev, int dma1, int dma2)
{