serial: sh-sci: Remove duplicate interrupt check in verify port op
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 6 Dec 2013 09:59:13 +0000 (10:59 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Dec 2013 02:17:36 +0000 (11:17 +0900)
commitb5e17b71c6b2ff284b4018e272e18876ccfa9b2c
treed636954fd9ae6a1de04f3d9845f3054934133dae
parent6557b1f69ea0961efde7ab33bfe0cb7e3bfed54e
serial: sh-sci: Remove duplicate interrupt check in verify port op

The driver checks if the interrupt number is greater than nr_irqs and
returns an error in that case. The same check is already performed by
the caller, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/tty/serial/sh-sci.c