mei: consolidate repeating code in mei_cl_irq_read_msg
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 11 Nov 2016 01:00:07 +0000 (03:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 09:56:52 +0000 (10:56 +0100)
commit17ba8a08b58a01bbac35790ffca4388ca92b7790
tree856d163b16e05878fc9bc5b5e576b34a3e25e93f
parentc836790ae55b854af0e95fce1349ef68f543b79b
mei: consolidate repeating code in mei_cl_irq_read_msg

A cb is always placed on the completion queue
during discarding queue. Hence this can be performed
upon discard.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/interrupt.c