]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: epl: remove NEAR
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 18:39:15 +0000 (11:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:20 +0000 (14:54 -0700)
It wasn't used and isn't needed.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/epl/EplInstDef.h
drivers/staging/epl/EplObd.c
drivers/staging/epl/global.h

index 89efbf27826428ca7135e8ff661a99bf48bb94c2..31406662b3c27bbead705932035d638b3dd0dee4 100644 (file)
@@ -99,7 +99,6 @@ typedef BYTE tEplInstanceHdl;
     //--------------------------------------------------------------------------------------
 
     // memory attributes for instance table
-#define INST_NEAR              // faster access to variables
 #define INST_FAR               // variables wich have to located in xdata
 #define STATIC                 // prevent warnings for variables with same name
 
@@ -254,7 +253,6 @@ typedef BYTE tEplInstanceHdl;
 #else // only one instance is used
 
     // Memory attributes for instance table.
-#define INST_NEAR   NEAR       // faster access to variables
 #define INST_FAR    MEM                // variables wich have to located in xdata
 #define STATIC      static     // prevent warnings for variables with same name
 
index a07582cec505f98ed0051050162d14eb8f444889..a853a02601a6a43556b3cb7a2354ccb2a6766308 100644 (file)
 INSTANCE_TYPE_BEGIN EPL_MCO_DECL_INSTANCE_MEMBER()
 
 STATIC tEplObdInitParam INST_FAR m_ObdInitParam;
-STATIC tEplObdStoreLoadObjCallback INST_NEAR m_fpStoreLoadObjCallback;
+STATIC tEplObdStoreLoadObjCallback m_fpStoreLoadObjCallback;
 
 INSTANCE_TYPE_END
 // decomposition of float
index 6214075704e277bfc3c717ef3782f80e56f04fd1..8a204ac232c3b42e6aaabd7fb748d17893751821 100644 (file)
 
 #define MEM                    // Memory attribute to optimize speed and code of pointer access.
 
-#ifndef NEAR
-#define NEAR                   // variables mapped to internal data storage location
-#endif
-
 #ifndef FAR
 #define FAR                    // variables mapped to external data storage location
 #endif