sr_vendor.c:148: warning: unused variable `frame'
sr_vendor.c:148: warning: unused variable `sec'
sr_vendor.c:148: warning: unused variable `min'
sched.c:318: warning: `timerlist_lock' defined but not used
___
Trevor Johnson
--- linux-2.1.85-dist/kernel/sched.c Thu Jan 29 18:08:28 1998
+++ linux/kernel/sched.c Wed Feb 4 04:24:58 1998
@@ -315,7 +315,9 @@
}
}
+#ifdef __SMP__
static spinlock_t timerlist_lock = SPIN_LOCK_UNLOCKED;
+#endif
void add_timer(struct timer_list *timer)
{
--- linux-2.1.85-dist/drivers/scsi/sr_vendor.c Thu Jan 8 20:35:43 1998
+++ linux/drivers/scsi/sr_vendor.c Wed Feb 4 04:24:29 1998
@@ -145,7 +145,7 @@
int sr_cd_check(struct cdrom_device_info *cdi)
{
- unsigned long sector,min,sec,frame;
+ unsigned long sector;
unsigned char *buffer; /* the buffer for the ioctl */
unsigned char cmd[12]; /* the scsi-command */
int rc,is_xa,no_multi,minor;