NetBSD Problem Report #51552
From www@NetBSD.org Tue Oct 11 15:42:47 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8458F7A217
for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Oct 2016 15:42:47 +0000 (UTC)
Message-Id: <20161011154246.A187C7A2B2@mollari.NetBSD.org>
Date: Tue, 11 Oct 2016 15:42:46 +0000 (UTC)
From: dcb@NetBSD.org
Reply-To: dcb@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: src/sys/dev/raidframe/rf_map.c:602: pointless increment ?
X-Send-Pr-Version: www-1.0
>Number: 51552
>Category: kern
>Synopsis: src/sys/dev/raidframe/rf_map.c:602: pointless increment ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 11 15:45:00 +0000 2016
>Closed-Date: Sat Oct 15 20:32:33 +0000 2016
>Last-Modified: Sat Oct 15 20:35:00 +0000 2016
>Originator: David Binderman
>Release: cvs-20161011
>Organization:
>Environment:
>Description:
src/sys/dev/raidframe/rf_map.c:602]: (style) Variable 'asm_count' is modified but its new value is never used.
Suggest delete local variable "asm_count". It isn't used anywhere.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: oster@NetBSD.org
State-Changed-When: Sat, 15 Oct 2016 20:32:33 +0000
State-Changed-Why:
Local unused variable removed, resolving ticket.
From: "Greg Oster" <oster@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51552 CVS commit: src/sys/dev/raidframe
Date: Sat, 15 Oct 2016 20:31:15 +0000
Module Name: src
Committed By: oster
Date: Sat Oct 15 20:31:15 UTC 2016
Modified Files:
src/sys/dev/raidframe: rf_map.c
Log Message:
Cleanup/remove unused asm_count. Reported by David Binderman in PR#51552.
Thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/raidframe/rf_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.