minijail: Remove has_bind_mounts API

This was added for minijail0 and minijail0 no longer uses it.  It hasn't
had any users added in the week or so it's been merged, remove it.

Change-Id: I1893b47fa2bd543718c98bb3bfcf23ed67566a01
Signed-off-by: Dylan Reid <dgreid@chromium.org>
diff --git a/libminijail.c b/libminijail.c
index 47b4b3f..e2af56a 100644
--- a/libminijail.c
+++ b/libminijail.c
@@ -499,11 +499,6 @@
 	return -ENOMEM;
 }
 
-int API minijail_has_bind_mounts(const struct minijail *j)
-{
-	return j->bindings_head != NULL;
-}
-
 void API minijail_parse_seccomp_filters(struct minijail *j, const char *path)
 {
 	if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL)) {
diff --git a/libminijail.h b/libminijail.h
index bfce714..7e52a1e 100644
--- a/libminijail.h
+++ b/libminijail.h
@@ -107,11 +107,6 @@
 int minijail_bind(struct minijail *j, const char *src, const char *dest,
 		  int writeable);
 
-/* minijail_has_bind_mounts: Checks if there are any bind mounts configured.
- * @j         minijail to check
- */
-int minijail_has_bind_mounts(const struct minijail *j);
-
 /* Lock this process into the given minijail. Note that this procedure cannot fail,
  * since there is no way to undo privilege-dropping; therefore, if any part of
  * the privilege-drop fails, minijail_enter() will abort the entire process.