From: Michael Meffie Date: Thu, 28 Apr 2016 20:52:42 +0000 (-0400) Subject: afs: cleanup remnant afs_vfs_mount prototype in afs_call.c X-Git-Tag: upstream/1.6.20^2~28 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bcde840ccc14f1232c5fc8769b9a74f1c892d977;p=packages%2Fo%2Fopenafs.git afs: cleanup remnant afs_vfs_mount prototype in afs_call.c The call to afs_vfs_mount() in afs_call.c was removed in commit a5ab24af71efe6b80eb0f78d1979c5ab1d1e594d. Remove the remnant prototype and the useless conditionals around it. Reviewed-on: https://gerrit.openafs.org/12275 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk (cherry picked from commit 91f5cecc937923e16c5feda675fccd36d2b95164) Change-Id: I6463d012c0c00b4a2738fa1045e822cda5c3304a Reviewed-on: https://gerrit.openafs.org/12305 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Michael Meffie Reviewed-by: Stephan Wiesand --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index ae589a766..db35eb142 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -86,10 +86,6 @@ afs_int32 afs_rx_idledead_rep = AFS_IDLEDEADTIME_REP; static int afscall_set_rxpck_received = 0; -#if defined(AFS_HPUX_ENV) -extern int afs_vfs_mount(); -#endif /* defined(AFS_HPUX_ENV) */ - /* This is code which needs to be called once when the first daemon enters * the client. A non-zero return means an error and AFS should not start. */