From: Johan Hedberg Date: Fri, 4 Jul 2014 09:37:21 +0000 (+0300) Subject: Bluetooth: Simplify hci_conn_params->action list usage X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95305baa779223060c7129100424da6c0d01045b;p=pandora-kernel.git Bluetooth: Simplify hci_conn_params->action list usage Since params->action is used for both the pend_le_conns and pend_le_reports lists we can simplify the adding and deleting of the lists considerably. For example, when deleting entries in most situations we no-longer need to check the auto_connect value but can directly proceed with calling list_del_init on param->action (which is safe even if the entry is not part of any list). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed