commit | b8d25dee3b73b572ea1778671098ee7b943133c5 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Feb 01 23:09:19 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Feb 01 23:09:19 2008 +0100 |
tree | 556b9bc286c9e13ca1b37b31becca9533fc0ea1d | |
parent | f17b0e02c0035b90c4e943f6e2cca840f82dce0f [diff] |
ide-cd: remove needless zeroing of 'info' fields from ide_cdrom_setup() ide_cd_probe() zeroes 'info' prior to calling ide_cdrom_setup() so there is no need to explicitly zero 'info' fields in the latter function. Ditto for fields of CDROM_STATE_FLAGS(), CDROM_CONFIG_FLAGS() and 'cdi' (all are embedded in 'info'). Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>