On Mon, Aug 12, 2019 at 01:08:51PM -0700, Andrey Smirnov wrote:
> We don't need to check for packet length more than once, so drop the
> extra check in ziirave_firm_upload(). While at it move the check at
> the very start of __ziirave_firm_write_pkt(), as to not waste any time
> preparing a packet we'll never use.
> 
> Signed-off-by: Andrey Smirnov <[email protected]>
> Cc: Chris Healy <[email protected]>
> Cc: Guenter Roeck <[email protected]>
> Cc: Rick Ramstetter <[email protected]>
> Cc: [email protected]
> Cc: [email protected]

Reviewed-by: Guenter Roeck <[email protected]>

Reply via email to