Re: [PATCH lora-next v2 5/8] net: lora: sx1301: remove duplicate firmware size checks

2018-08-09 Thread Andreas Färber
Am 09.08.2018 um 14:33 schrieb Ben Whitten: > No need to check the size of the firmware multiple times, just do it once > in the function responsible for loading as the firmwares are the same size. > > Signed-off-by: Ben Whitten > --- > drivers/net/lora/sx1301.c | 21 +++-- > 1 f

[PATCH lora-next v2 5/8] net: lora: sx1301: remove duplicate firmware size checks

2018-08-09 Thread Ben Whitten
No need to check the size of the firmware multiple times, just do it once in the function responsible for loading as the firmwares are the same size. Signed-off-by: Ben Whitten --- drivers/net/lora/sx1301.c | 21 +++-- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git