From fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Wed, 8 Mar 2006 00:14:27 -0800 Subject: [SCSI] drivers/scsi/FlashPoint.c: remove ushort_ptr Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- drivers/scsi/FlashPoint.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drivers/scsi') diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index d877a6a12aca..6089af003130 100644 --- a/drivers/scsi/FlashPoint.c +++ b/drivers/scsi/FlashPoint.c @@ -42,7 +42,6 @@ -typedef unsigned short * ushort_ptr; #define s08bits char @@ -6003,7 +6002,7 @@ static void FPT_scasid(unsigned char p_card, unsigned long p_port) unsigned char i,k,scam_id; unsigned char crcBytes[3]; PNVRamInfo pCurrNvRam; - ushort_ptr pCrcBytes; + unsigned short * pCrcBytes; pCurrNvRam = FPT_BL_Card[p_card].pNvRamInfo; @@ -6023,7 +6022,7 @@ static void FPT_scasid(unsigned char p_card, unsigned long p_port) if (!(FPT_sciso(p_port,&temp_id_string[0]))) { if(pCurrNvRam){ - pCrcBytes = (ushort_ptr)&crcBytes[0]; + pCrcBytes = (unsigned short *)&crcBytes[0]; *pCrcBytes = FPT_CalcCrc16(&temp_id_string[0]); crcBytes[2] = FPT_CalcLrc(&temp_id_string[0]); temp_id_string[1] = crcBytes[2]; -- cgit v1.2.3