git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
afs: casting NULL is generally unnecessary
[openafs.git]
/
src
/
venus
/
fs.c
diff --git
a/src/venus/fs.c
b/src/venus/fs.c
index
382d3cd
..
9dc26ba
100644
(file)
--- a/
src/venus/fs.c
+++ b/
src/venus/fs.c
@@
-296,7
+296,7
@@
Parent(char *apath)
tp = strrchr(tspace, '/');
if (tp == (char *)tspace)
tp++;
- else if (tp == (char *)NULL) {
+ else if (tp == NULL) {
tp = (char *)tspace;
*(tp++) = '.';
}