From: Vinicius Costa Gomes Date: Fri, 3 Feb 2012 00:07:59 +0000 (-0300) Subject: Bluetooth: Fix doing some useless casts when receiving MGMT commands X-Git-Tag: v3.4-rc1~177^2~112^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=650f726d16a3f25153d785b531516f6e90d2014f;p=pandora-kernel.git Bluetooth: Fix doing some useless casts when receiving MGMT commands Every command handler of mgmt does a cast to the command structure so it can properly interpreted. So we can avoid that cast if we make those functions receive a void * directly. Signed-off-by: Vinicius Costa Gomes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed