avoid specific nvidia struct field
[psensor.git] / src / lib / psensor.h
index be25b72..37891c3 100644 (file)
@@ -115,10 +115,6 @@ struct psensor {
        void (*cb_alarm_raised)(struct psensor *, void *);
        void *cb_alarm_raised_data;
 
-#ifdef HAVE_NVIDIA
-       /* Nvidia id for the nvctrl */
-       int nvidia_id;
-#endif
 #ifdef HAVE_LIBATIADL
        /* AMD id for the aticonfig */
        int amd_id;
@@ -153,10 +149,6 @@ struct psensor **psensor_list_filter_graph_enabled(struct psensor **);
 struct psensor *psensor_list_get_by_id(struct psensor **sensors,
                                       const char *id);
 
-/* Return true if there is at least one sensor of a given type, else
- * returns false */
-bool psensor_list_contains_type(struct psensor **sensors, unsigned int type);
-
 int is_temp_type(unsigned int type);
 
 double get_min_temp(struct psensor **sensors);