staging: vchiq_core: Bailout if VCHIQ state is already initialized
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 25 May 2017 22:26:20 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 15:04:12 +0000 (17:04 +0200)
commit359afaccd97e6257bcda29efa4e83375d9a2cc34
tree29f7012d6b221733a20e9bd81a6b9c80fd9a8cd2
parent7c35c6af0cd6896f6e293cf617a5e27116735e5b
staging: vchiq_core: Bailout if VCHIQ state is already initialized

In case VCHIQ state is already initialized we need to bailout
in order to aovid a memory leak.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c