watchdog: bcm47xx_wdt: Don't validate platform data on remove
authorGuenter Roeck <linux@roeck-us.net>
Fri, 6 Jan 2017 14:35:16 +0000 (06:35 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit3b72c41f13e64e4799cb0978d46eb06575456f26
tree2246113b098d4b2270bd602b8932ef78aaae9f07
parent9616bd2a66000a30ff912ac3b1e02391dc2d0c89
watchdog: bcm47xx_wdt: Don't validate platform data on remove

Platform data was already validated in the probe function. If it was NULL,
the remove function will never be called. Remove the unnecessary check.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/bcm47xx_wdt.c