]> err.no Git - linux-2.6/commit
avr32/pata: avoid unnecessary memset (updated after comments)
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Tue, 13 May 2008 19:17:30 +0000 (21:17 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:27:40 +0000 (17:27 -0400)
commit68b90ee7c8046864301823d8d4449eb1ce1d2f74
tree73d078a7d5ecd8ab69cbf097d07aa8c0d9a8c1cd
parentb6e7b447975b0364c3430284c7b16e2e89ccf9e9
avr32/pata: avoid unnecessary memset (updated after comments)

Remove an explicit memset(.., 0, ...) to a variable allocated with
kzalloc (i.e. 'info').

Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_at32.c