mei: amthif: drop parameter validation from mei_amthif_write
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 7 Feb 2016 21:35:27 +0000 (23:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 22:47:20 +0000 (14:47 -0800)
commit77b007b1b50ef728be8252cbdf3f7e7e45b29bc5
tree51e1c20eef024ffba54312443628dfdd13f59a72
parent9abd8b31292497530085156b41746e2a1cd9c934
mei: amthif: drop parameter validation from mei_amthif_write

Remove duplicated parameter validation from mei_amthif_write functions,
The parameter check is already performed by the caller function
mei_write

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c