[SCSI] aic7xxx: Update type check in aicasm grammar
authorHannes Reinecke <hare@suse.de>
Wed, 23 Apr 2008 09:39:49 +0000 (11:39 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 17:19:55 +0000 (12:19 -0500)
commit2b48aed182c65b3387b076364ab286c445aa4a93
tree0cb69715529e3cc007b3e398a96a3d29e008e8a8
parent542bd1377a963070bc4a03ff7d2690ddf3920596
[SCSI] aic7xxx: Update type check in aicasm grammar

The function type_check() in aicasm grammar code was
never used properly due to a bug.
This patch fixes it up and ensures it's only called if appropriate.

In addition the unused 16bit instruction are disabled, but left in
the code for reference.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
drivers/scsi/aic7xxx/aicasm/aicasm_scan.l