From patchwork Mon Nov 12 21:58:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Mikityanskiy X-Patchwork-Id: 1731271 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id EE0A23FCDE for ; Mon, 12 Nov 2012 21:59:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753858Ab2KLV7A (ORCPT ); Mon, 12 Nov 2012 16:59:00 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:49658 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753769Ab2KLV67 (ORCPT ); Mon, 12 Nov 2012 16:58:59 -0500 Received: by mail-ee0-f46.google.com with SMTP id b15so3644080eek.19 for ; Mon, 12 Nov 2012 13:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=OszJA+PYGnGuvgSNnozJ++XXJXBe9PiX3Fg+qj6O7HQ=; b=dZzv7EAIQs6K5mnY6JWJ7Q3COLdMaOVRuNWwc9w5D8NWfh00OFBQyDmHFfSIFTAHkK hS8SyD+eto6ILG3BrqAfZ5Q56z6I1zSE21br7fcvi3QPL1LX3lECwMz4O54LSqUmdRur oxWHcZcB1OiYWBnx2sdiZDd3DuT8VlATXigMwHs7KtLGR6Ejq8TOzUpsVFkzUBEVUqw4 iL58sk1qJ+de+t8CrICy1ZaJxIMwUScnOHQSm6ffJT3YusRColQxJEpsgK6rulm4w9Qs +L3s5fiGQBv5lXZEqrjjjY6QRL3GBq54Oy/pgpiGLHEKIWvm9HTupPCAgNUGfyUiB6+I vo/A== Received: by 10.14.0.68 with SMTP id 44mr67795059eea.1.1352757538717; Mon, 12 Nov 2012 13:58:58 -0800 (PST) Received: from laptop.olymp.linuxd.org (63-85-92-178.pool.ukrtel.net. [178.92.85.63]) by mx.google.com with ESMTPS id f3sm18449256eeo.13.2012.11.12.13.58.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 13:58:57 -0800 (PST) From: Maxim Mikityanskiy To: greg@kroah.com, linux-wireless@vger.kernel.org Cc: Maxim Mikityanskiy Subject: [PATCH 06/17] Fix oops when rmmoding Date: Mon, 12 Nov 2012 23:58:20 +0200 Message-Id: <1352757511-26957-7-git-send-email-maxtram95@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352757511-26957-1-git-send-email-maxtram95@gmail.com> References: <1352757511-26957-1-git-send-email-maxtram95@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Maxim Mikityanskiy --- r8180_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/r8180_core.c b/r8180_core.c index d903786..e04bb04 100644 --- a/r8180_core.c +++ b/r8180_core.c @@ -323,7 +323,6 @@ void rtl8180_proc_remove_one(struct net_device *dev) remove_proc_entry("stats-tx", priv->dir_dev); remove_proc_entry("stats-rx", priv->dir_dev); remove_proc_entry("registers", priv->dir_dev); - remove_proc_entry(dev->name, rtl8180_proc); priv->dir_dev = NULL; } }