Hi Johan, > The params variable was just used for storing the return value from the > hci_pend_le_action_lookup() function and then checking whether it's NULL > or not. We can simplify the code by checking the return value directly. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/hci_event.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html