Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964868AbXHXAOP (ORCPT ); Thu, 23 Aug 2007 20:14:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932105AbXHXAN6 (ORCPT ); Thu, 23 Aug 2007 20:13:58 -0400 Received: from nf-out-0910.google.com ([64.233.182.190]:34562 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932482AbXHXAN5 (ORCPT ); Thu, 23 Aug 2007 20:13:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:resent-from:resent-to:resent-date:resent-message-id:message-id:in-reply-to:references:from:date:subject:to:cc:mime-version:content-transfer-encoding:content-disposition; b=GtJ64ul4SCI7IS4z+ZlRVfYsxSy0GpTP7NbogSxRRZ/kpx35VY46FpQsLX3n4AVV+YeeLnfDmYVJQz1DXIlfcyTd/qKrmA3lLV747bPM4QQCKwQ8QQ9V5h/GYP5iKiMhWH+v2HuIVXHaa8otESNKiRuzbTAoUK/w3WAhXP6TV/U= Message-Id: In-Reply-To: <1554af80879a7ef2f78a4d654f23c248203500d9.1187912217.git.jesper.juhl@gmail.com> References: <1554af80879a7ef2f78a4d654f23c248203500d9.1187912217.git.jesper.juhl@gmail.com> From: Jesper Juhl Date: Fri, 24 Aug 2007 02:11:03 +0200 Subject: [PATCH 18/30] isdn: eicon - get rid of a pointless vmalloc() return value cast To: Linux Kernel Mailing List Cc: Karsten Keil , Kai Germaschewski , isdn4linux@listserv.isdn4linux.de, Armin Schindler , Jesper Juhl MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 29 vmalloc() returns void*. No need to cast in drivers/isdn/hardware/eicon/platform.h::diva_os_malloc() Signed-off-by: Jesper Juhl --- drivers/isdn/hardware/eicon/platform.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/hardware/eicon/platform.h b/drivers/isdn/hardware/eicon/platform.h index 15d4942..8756ef1 100644 --- a/drivers/isdn/hardware/eicon/platform.h +++ b/drivers/isdn/hardware/eicon/platform.h @@ -167,7 +167,7 @@ static __inline__ void* diva_os_malloc (unsigned long flags, unsigned long size) void *ret = NULL; if (size) { - ret = (void *) vmalloc((unsigned int) size); + ret = vmalloc((unsigned int)size); } return (ret); } -- 1.5.2.2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/