Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2010 16:56:59 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/sound/pcm buffer.c buffer.h
Message-ID:  <201005041657.o44GvDI3043281@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2010-05-04 16:56:59 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pcm    buffer.c buffer.h 
  Log:
  SVN rev 207620 on 2010-05-04 16:56:59Z by jkim
  
  - Remove more dead code[1].  Since r207330, we only need to check division
  by zero of the second argument 'from'.
  - Prefer u_int32_t over unsigned int to make its intention more clearer.
  - Move the function to a header file and make it a static inline function.
  
  Pointed out by: Andrew Reilly (areilly at bigpond dot net dot au)[1]
  MFC after:      3 days
  
  Revision  Changes    Path
  1.40      +0 -13     src/sys/dev/sound/pcm/buffer.c
  1.19      +11 -1     src/sys/dev/sound/pcm/buffer.h



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