mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Simplify two expressions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -102,7 +102,7 @@ See also http://lkml.org/lkml/2009/4/5/120
|
||||
#define likely_notrace(x) __builtin_expect(!!(x), 1)
|
||||
EOF
|
||||
fi
|
||||
if [ "$1" = "2.6.31" -o "${1#2.6.31.}" != "$1" ]
|
||||
if [ "${1#2.6.31}" != "$1" ]
|
||||
then
|
||||
cd "../linux-$1" || return $?
|
||||
patch -f -s -p1 <<'EOF'
|
||||
@@ -139,8 +139,7 @@ See also http://lkml.org/lkml/2009/9/26/51
|
||||
do { \
|
||||
EOF
|
||||
fi
|
||||
if [ "$1" = 2.6.32 -o "${1#2.6.32.}" != "$1" -o "$1" = "2.6.33" \
|
||||
-o "${1#2.6.33.}" != "$1" ]
|
||||
if [ "${1#2.6.32}" != "$1" -o "${1#2.6.33}" != "$1" ]
|
||||
then
|
||||
cd "../linux-$1" || return $?
|
||||
patch -f -s -p1 <<'EOF'
|
||||
|
||||
Reference in New Issue
Block a user