From: Chris Sanford Date: Wed, 06 May 2009 01:19:20 +0000 Subject: Re: [PATCH] (void*) cast removal Message-Id: <20090506011920.GC4747@chrisubuntu-laptop> List-Id: References: <20090503202537.GC4945@chrisubuntu-laptop> In-Reply-To: <20090503202537.GC4945@chrisubuntu-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org It was suggested I also send this to trivial.... > This is a trivial patch that removes an unnecessary void pointer cast. > This is my first time submitting a patch so I am unsure who else to > send it to. Should this also be sent to the trivial mailling list? > > Signed-off-by: Chris Sanford > > --- > > --- linux-2.6/sound/oss/msnd.c > +++ linux-2.6/sound/oss/msnd.c > @@ -100,7 +100,7 @@ void msnd_fifo_free(msnd_fifo *f) > int msnd_fifo_alloc(msnd_fifo *f, size_t n) > { > msnd_fifo_free(f); > - f->data = (char *)vmalloc(n); > + f->data = vmalloc(n); > f->n = n; > f->tail = 0; > f->head = 0; > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >