Re: [PATCH 02/10] staging: vchiq_core: break early in vchiq_close_service_internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2021-04-22 at 22:07 +0200, Stefan Wahren wrote:
> The logic in VCHIQ_SRVSTATE_OPEN* is unnecessary complex. Handle the error
> case of queue_message() first makes it easier to read.
> 
> Btw we get the rid of the checkpatch warning:
> WARNING: else is not generally useful after a break or return
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>
> ---
Reviewed-by: Nicolas Saenz Julienne <nsaenz@xxxxxxxxxx>

Thanks!
Nicolas

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux