Show
Ignore:
Timestamp:
09/27/99 15:20:45 (9 years ago)
Author:
frodo
Message:

Some code cleanups

* Removed several superfluous (struct i2c_client *) casts (they were left

from the time we had separate structs for smbus and isa)

* Removed the internal lists of registered clients

They have not been used for quite some time now, took memory space,
and limited the maximum number of clients that could be registered.

Also removed two small Makefile errors - I am happy I caught them before
the next release!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/lib/Module.mk

    r581 r582  
    2020# verbatim in the rules, until it is redefined.  
    2121MODULE_DIR := lib 
    22 LIBDIR := $(MODULE_DIR) 
     22LIB_DIR := $(MODULE_DIR) 
    2323 
    2424# The manual dirs and files 
     
    9898 
    9999clean-lib: 
    100         $(RM) $(LIBDIR)/*.ld $(LIBDIR)/*.ad 
    101         $(RM) $(LIBDIR)/*.lo $(LIBDIR)/*.ao 
     100        $(RM) $(LIB_DIR)/*.ld $(LIB_DIR)/*.ad 
     101        $(RM) $(LIB_DIR)/*.lo $(LIB_DIR)/*.ao 
    102102        $(RM) $(LIBTARGETS) $(LIBEXTRACLEAN) 
    103103clean :: clean-lib