From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH 2/2] Bluetooth: Make hci_unregister_dev return void From: Marcel Holtmann To: David Herrmann Cc: linux-bluetooth@vger.kernel.org, padovan@profusion.mobi Date: Wed, 26 Oct 2011 10:55:47 +0200 In-Reply-To: <1319618599-10938-2-git-send-email-dh.herrmann@googlemail.com> References: <1319618599-10938-1-git-send-email-dh.herrmann@googlemail.com> <1319618599-10938-2-git-send-email-dh.herrmann@googlemail.com> Content-Type: text/plain; charset="UTF-8" Message-ID: <1319619347.15441.252.camel@aeonflux> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi David, > hci_unregister_dev cannot fail and always returns 0. The drivers already ignore > the return value so we can safely make it return void. > > Signed-off-by: David Herrmann > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_core.c | 4 +--- > 2 files changed, 2 insertions(+), 4 deletions(-) Acked-by: Marcel Holtmann Regards Marcel