net/sfc/base: remove duplicate NVRAM asserts
authorAndy Moreton <amoreton@solarflare.com>
Thu, 16 Nov 2017 08:04:01 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite5fff4ee25ce572a10c04b06d09d94b9d8d4b21c
treeb49e3c60b67eebef9c3b7d39cccc636fb3d03bce
parent38210840313caac070115ee3ce4e474193e758e9
net/sfc/base: remove duplicate NVRAM asserts

The checking performed in the ->envo_type_to_partn
internal method make these assertions unnecessary.

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nvram.c
drivers/net/sfc/base/efx_nvram.c
drivers/net/sfc/base/siena_nvram.c