Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 12:12:34 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_prf.c
Message-ID:  <200902261212.n1QCCfgp058228@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-02-26 12:12:34 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_prf.c 
  Log:
  SVN rev 189066 on 2009-02-26 12:12:34Z by ed
  
  Remove redundant assignment of `p'.
  
  `p' is already initialized with `td->td_proc'. Because td is always
  curthread, it is safe to initialize it without any locks.
  
  Found by:       LLVM's scan-build
  
  Revision  Changes    Path
  1.136     +0 -1      src/sys/kern/subr_prf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902261212.n1QCCfgp058228>