mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
staging: vchi: Get rid of effect less expression
It was probably there to trick compilers into ignoring unused variables, which isn't needed in Linux. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629150945.10720-22-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
469fbb24ce
commit
6c53da0b2f
1 changed files with 0 additions and 2 deletions
|
@ -288,8 +288,6 @@ static struct vchi_service *service_alloc(struct vchiq_instance *instance,
|
|||
{
|
||||
struct vchi_service *service = kzalloc(sizeof(struct vchi_service), GFP_KERNEL);
|
||||
|
||||
(void)instance;
|
||||
|
||||
if (service) {
|
||||
if (!vchiu_queue_init(&service->queue, 64)) {
|
||||
service->callback = setup->callback;
|
||||
|
|
Loading…
Reference in a new issue