Gitweb: http://git.kernel.org/linus/44b71174dfe579690c8f91d51763e05ca72169e2 Commit: 44b71174dfe579690c8f91d51763e05ca72169e2 Parent: bd3966d5dc109a7f5cfcd7e14a851acc18d69324 Author: Greg Kroah-Hartman <gregkh@suse.de> AuthorDate: Mon Mar 23 11:39:15 2009 -0700 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Fri Apr 3 14:54:20 2009 -0700 Staging: epl: remove NEAR 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 | 2 -- drivers/staging/epl/EplObd.c | 2 +- drivers/staging/epl/global.h | 4 ---- 3 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/staging/epl/EplInstDef.h b/drivers/staging/epl/EplInstDef.h index 89efbf2..3140666 100644 --- a/drivers/staging/epl/EplInstDef.h +++ b/drivers/staging/epl/EplInstDef.h @@ -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 diff --git a/drivers/staging/epl/EplObd.c b/drivers/staging/epl/EplObd.c index a07582c..a853a02 100644 --- a/drivers/staging/epl/EplObd.c +++ b/drivers/staging/epl/EplObd.c @@ -102,7 +102,7 @@ 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 diff --git a/drivers/staging/epl/global.h b/drivers/staging/epl/global.h index 6214075..8a204ac 100644 --- a/drivers/staging/epl/global.h +++ b/drivers/staging/epl/global.h @@ -35,10 +35,6 @@ #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 -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
