--- linux/drivers/scsi/scsicam.c-	Sun Nov  8 13:51:34 1998
+++ linux/drivers/scsi/scsicam.c	Mon Feb 22 01:09:56 1999
@@ -45,7 +45,6 @@
     struct buffer_head *bh;
     int ret_code;
     int size = disk->capacity;
-    unsigned long temp_cyl;
 
     if (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev)&~0xf), 0, 1024)))
 	return -1;
@@ -66,13 +65,8 @@
     /* if something went wrong, then apparently we have to return
        a geometry with more than 1024 cylinders */
     if (ret_code || ip[0] > 255 || ip[1] > 63) {
-	 ip[0] = 64;
-	 ip[1] = 32;
-	 temp_cyl = size / (ip[0] * ip[1]);
-	 if (temp_cyl > 65534) {
-	      ip[0] = 255;
-	      ip[1] = 63;
-	 }
+	 ip[0] = 255;
+	 ip[1] = 63;
 	 ip[2] = size / (ip[0] * ip[1]);
     }
 
