Bluetooth: remove unused variable from cmtp
A value was attributed to 'src', but no one was using. Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
Родитель
aae7fe22a8
Коммит
cb810a189d
|
@ -321,12 +321,11 @@ static int cmtp_session(void *arg)
|
|||
int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock)
|
||||
{
|
||||
struct cmtp_session *session, *s;
|
||||
bdaddr_t src, dst;
|
||||
bdaddr_t dst;
|
||||
int i, err;
|
||||
|
||||
BT_DBG("");
|
||||
|
||||
baswap(&src, &bt_sk(sock->sk)->src);
|
||||
baswap(&dst, &bt_sk(sock->sk)->dst);
|
||||
|
||||
session = kzalloc(sizeof(struct cmtp_session), GFP_KERNEL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче