From patchwork Mon Sep 10 00:40:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ycnian@gmail.com X-Patchwork-Id: 1429051 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 47A23DF280 for ; Mon, 10 Sep 2012 00:50:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754805Ab2IJAul (ORCPT ); Sun, 9 Sep 2012 20:50:41 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:63560 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752923Ab2IJAuk (ORCPT ); Sun, 9 Sep 2012 20:50:40 -0400 Received: by pbbrr13 with SMTP id rr13so1689687pbb.19 for ; Sun, 09 Sep 2012 17:50:40 -0700 (PDT) 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; bh=Ag0sj+jysuyZ9eKw6C6Omc3goqM17G57ExtWgUCttrE=; b=Of5fXBnN/jXKISSqd9r8cUfzodCLCsza8PWtbVv4slgUBm6TZOBn9OPDo9COxt1X/D x2Is0Ld++hLexUlvzNza0rpbmXTQmtTj2DI8z4G6Fpcfl3s2Bze5RAKj+btsJ8elSiMX ClTsEkNLMnXTC3ZF5lF0c9iWPPUMf9teoTa47icJ575xvNzs8Mpfn85X6ioQvsPeUHVE 9FGwKF+C5wmHXY2BqvcDiXzLa59jhNlyFnu8rtoFg6OGgibKKEWR5RsAXMZMzPVUHqAG dXygqTVRhZUjpd1uXkmz1SUZ9xZJCHAoEuHiW3rZvRDT0JAQP61bqg1YMTgHpW/DJL4O 2R1A== Received: by 10.68.232.194 with SMTP id tq2mr2890409pbc.111.1347238240512; Sun, 09 Sep 2012 17:50:40 -0700 (PDT) Received: from localhost ([159.226.5.131]) by mx.google.com with ESMTPS id wf7sm986030pbc.34.2012.09.09.17.50.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Sep 2012 17:50:39 -0700 (PDT) From: ycnian@gmail.com To: Trond.Myklebust@netapp.com, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Yanchuan Nian Subject: [PATCH] NFS: Remove unnecessary semicolons (fs/nfs/client.c) Date: Mon, 10 Sep 2012 08:40:16 +0800 Message-Id: <1347237616-3835-1-git-send-email-ycnian@gmail.com> X-Mailer: git-send-email 1.7.4.4 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Yanchuan Nian There are some unnecessary semicolons in function find_nfs_version. Just remove them. Signed-off-by: Yanchuan Nian --- fs/nfs/client.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 9969444..d2e1612 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -93,10 +93,10 @@ static struct nfs_subversion *find_nfs_version(unsigned int version) spin_unlock(&nfs_version_lock); return nfs; } - }; + } spin_unlock(&nfs_version_lock); - return ERR_PTR(-EPROTONOSUPPORT);; + return ERR_PTR(-EPROTONOSUPPORT); } struct nfs_subversion *get_nfs_version(unsigned int version)