Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/700223/?format=api
{ "id": 700223, "url": "http://patchwork.ozlabs.org/api/patches/700223/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1480377971-23412-5-git-send-email-bimmy.pujari@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1480377971-23412-5-git-send-email-bimmy.pujari@intel.com>", "list_archive_url": null, "date": "2016-11-29T00:06:01", "name": "[next,S55,04/14] i40e: remove unused function", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b4fae72d5eacc83568c7354a87b72e114365ccc8", "submitter": { "id": 68919, "url": "http://patchwork.ozlabs.org/api/people/68919/?format=api", "name": "Pujari, Bimmy", "email": "bimmy.pujari@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1480377971-23412-5-git-send-email-bimmy.pujari@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/700223/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/700223/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3tSP591PCsz9tlW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Nov 2016 11:07:57 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id ABCDA88A03;\n\tTue, 29 Nov 2016 00:07:55 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ss5xocwsWatD; Tue, 29 Nov 2016 00:07:52 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 87F26888D3;\n\tTue, 29 Nov 2016 00:07:50 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 31B791C0975\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 29 Nov 2016 00:07:49 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2DBF994A3B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 29 Nov 2016 00:07:49 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id kgLfuz+N+5ql for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 29 Nov 2016 00:07:48 +0000 (UTC)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 69BF793AEC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 29 Nov 2016 00:07:48 +0000 (UTC)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga104.jf.intel.com with ESMTP; 28 Nov 2016 16:07:47 -0800", "from bimmy.jf.intel.com (HELO bimmy.linux1.jf.intel.com)\n\t([134.134.2.167])\n\tby orsmga004.jf.intel.com with ESMTP; 28 Nov 2016 16:07:47 -0800" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.31,565,1473145200\"; d=\"scan'208\";a=\"35284053\"", "From": "Bimmy Pujari <bimmy.pujari@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Mon, 28 Nov 2016 16:06:01 -0800", "Message-Id": "<1480377971-23412-5-git-send-email-bimmy.pujari@intel.com>", "X-Mailer": "git-send-email 2.4.11", "In-Reply-To": "<1480377971-23412-1-git-send-email-bimmy.pujari@intel.com>", "References": "<1480377971-23412-1-git-send-email-bimmy.pujari@intel.com>", "Subject": "[Intel-wired-lan] [next PATCH S55 04/14] i40e: remove unused\n\tfunction", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "From: Mitch Williams <mitch.a.williams@intel.com>\n\nAfter refactoring the client open and close code, this is no longer\nneeded. Remove it.\n\nSigned-off-by: Mitch Williams <mitch.a.williams@intel.com>\nChange-ID: If8e6e32baa354d857c2fd8b2f19404f1786011c4\n---\nTesting Hints : No functional change, just dead\ncode.\n\n drivers/net/ethernet/intel/i40e/i40e.h | 1 -\n drivers/net/ethernet/intel/i40e/i40e_client.c | 35 ---------------------------\n 2 files changed, 36 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h\nindex 05552b0..eb01dac 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e.h\n@@ -831,7 +831,6 @@ int i40e_lan_add_device(struct i40e_pf *pf);\n int i40e_lan_del_device(struct i40e_pf *pf);\n void i40e_client_subtask(struct i40e_pf *pf);\n void i40e_notify_client_of_l2_param_changes(struct i40e_vsi *vsi);\n-void i40e_notify_client_of_netdev_open(struct i40e_vsi *vsi);\n void i40e_notify_client_of_netdev_close(struct i40e_vsi *vsi, bool reset);\n void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs);\n void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id);\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_client.c b/drivers/net/ethernet/intel/i40e/i40e_client.c\nindex 7fe72ab..7ca048f 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_client.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_client.c\n@@ -201,41 +201,6 @@ void i40e_notify_client_of_l2_param_changes(struct i40e_vsi *vsi)\n }\n \n /**\n- * i40e_notify_client_of_netdev_open - call the client open callback\n- * @vsi: the VSI with netdev opened\n- *\n- * If there is a client to this netdev, call the client with open\n- **/\n-void i40e_notify_client_of_netdev_open(struct i40e_vsi *vsi)\n-{\n-\tstruct i40e_client_instance *cdev;\n-\tint ret = 0;\n-\n-\tif (!vsi)\n-\t\treturn;\n-\tmutex_lock(&i40e_client_instance_mutex);\n-\tlist_for_each_entry(cdev, &i40e_client_instances, list) {\n-\t\tif (cdev->lan_info.netdev == vsi->netdev) {\n-\t\t\tif (!cdev->client ||\n-\t\t\t !cdev->client->ops || !cdev->client->ops->open) {\n-\t\t\t\tdev_dbg(&vsi->back->pdev->dev,\n-\t\t\t\t\t\"Cannot locate client instance open routine\\n\");\n-\t\t\t\tcontinue;\n-\t\t\t}\n-\t\t\tif (!(test_bit(__I40E_CLIENT_INSTANCE_OPENED,\n-\t\t\t\t &cdev->state))) {\n-\t\t\t\tret = cdev->client->ops->open(&cdev->lan_info,\n-\t\t\t\t\t\t\t cdev->client);\n-\t\t\t\tif (!ret)\n-\t\t\t\t\tset_bit(__I40E_CLIENT_INSTANCE_OPENED,\n-\t\t\t\t\t\t&cdev->state);\n-\t\t\t}\n-\t\t}\n-\t}\n-\tmutex_unlock(&i40e_client_instance_mutex);\n-}\n-\n-/**\n * i40e_client_release_qvlist\n * @ldev: pointer to L2 context.\n *\n", "prefixes": [ "next", "S55", "04/14" ] }