diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2022-01-23 21:02:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:30:16 +0100 |
commit | d9bb2daa4f845aff675dafd8d8ce71a027581472 (patch) | |
tree | 656ca0cdd6ea17e59511a82259f3019c8db08aa5 /drivers/staging/vc04_services | |
parent | staging: vchiq_core: reduce multi-line statements (diff) | |
download | wireguard-linux-d9bb2daa4f845aff675dafd8d8ce71a027581472.tar.xz wireguard-linux-d9bb2daa4f845aff675dafd8d8ce71a027581472.zip |
staging: vchiq_core: fix alignment
This fixes some alignment found by checkpatch.pl.
Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1642968143-19281-13-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services')
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index fbc44e7ea000..7e901be93a4e 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -2687,8 +2687,7 @@ vchiq_close_service_internal(struct vchiq_service *service, int close_recvd) } else { service->client_id = 0; service->remoteport = VCHIQ_PORT_FREE; - if (service->srvstate == - VCHIQ_SRVSTATE_CLOSEWAIT) + if (service->srvstate == VCHIQ_SRVSTATE_CLOSEWAIT) set_service_state(service, VCHIQ_SRVSTATE_LISTENING); } complete(&service->remove_event); @@ -2893,7 +2892,7 @@ vchiq_close_service(unsigned int handle) status = vchiq_close_service_internal(service, NO_CLOSE_RECVD); WARN_ON(status == VCHIQ_RETRY); } else { - /* Mark the service for termination by the slot handler */ + /* Mark the service for termination by the slot handler */ request_poll(service->state, service, VCHIQ_POLL_TERMINATE); } |