mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
#if 0 out local variables only used in #if 0'd code and remove unused
local variables.
This commit is contained in:
parent
e54e93e21a
commit
5928fa5cc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71465
@ -169,8 +169,10 @@ s3lfb_init(int unit, video_adapter_t *adp, int flags)
|
||||
static int
|
||||
s3lfb_get_info(video_adapter_t *adp, int mode, video_info_t *info)
|
||||
{
|
||||
#if 0
|
||||
device_t dev = s3pci_dev; /* XXX */
|
||||
struct s3pci_softc *sc = (struct s3pci_softc *)device_get_softc(dev);
|
||||
#endif
|
||||
int error;
|
||||
|
||||
if ((error = (*prevvidsw->get_info)(adp, mode, info)))
|
||||
@ -217,8 +219,9 @@ s3lfb_set_mode(video_adapter_t *adp, int mode)
|
||||
{
|
||||
device_t dev = s3pci_dev; /* XXX */
|
||||
struct s3pci_softc *sc = (struct s3pci_softc *)device_get_softc(dev);
|
||||
u_long cr59, cr5A;
|
||||
#if 0
|
||||
unsigned char tmp;
|
||||
#endif
|
||||
int error;
|
||||
|
||||
/* First, set the mode as if it was a classic VESA card
|
||||
|
Loading…
Reference in New Issue
Block a user